package com.jeeplus.modules.anny.mini.web;


import com.jeeplus.common.beans.ResultBean;
import com.jeeplus.modules.anny.shop.service.AnnyShopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.HashMap;
import java.util.Map;

/**
 * 我的店铺
 */
@Controller
@RequestMapping(value = "mini/myShop")
public class MyShopController {

    @Autowired
    private AnnyShopService shopService;


    /**
     * 店铺首页
     * @return
     */
    @RequestMapping
    @ResponseBody
    public ResultBean index(){
        String userId = "";

        Map<String, Object> map = new HashMap<>();
        map.put("今日付款金额", "");
        map.put("浏览人数", "");
        map.put("付款订单数", "");
        map.put("付款件数", "");


        return new ResultBean<>(map);
    }


    /**
     * 店铺详情
     * @return
     */
    @RequestMapping("/detail")
    @ResponseBody
    public ResultBean detail(){
        String userId = "";


return null;

    }

}
